package com.changsideal.excel.annotation;

import org.apache.poi.hssf.util.HSSFColor;
import java.lang.annotation.*;

/**
 * @ClassName Sheet
 * @Description Excel sheet扫描注解
 * @Author Create by Chansideal.Haosc
 * @Date 2019/7/5 14:33
 * @Version 1.0
 **/
@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Sheet {
    /**
     * 当前表格名称，如不赋值，默认为空
     **/
    String value() default "";

    /**
     * 默认表头颜色，可赋值设置颜色，默认为浅蓝色
     **/
    HSSFColor.HSSFColorPredefined headBackGround() default HSSFColor.HSSFColorPredefined.LIGHT_BLUE;
}
